From: YAMAMOTO Mitsuharu Date: Fri, 11 Mar 2011 01:43:49 +0000 (+0900) Subject: * src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~17^2~145 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c8bba48c5889c4773c62a10f7c3d4383881f11c1;p=emacs.git * src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223) --- diff --git a/src/ChangeLog b/src/ChangeLog index b158eaf5036..d3d61a8f166 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-03-11 YAMAMOTO Mitsuharu + + * unexmacosx.c (copy_data_segment): Also copy __got section. + (Bug#8223) + 2011-03-07 Chong Yidong * Version 23.3 released. diff --git a/src/unexmacosx.c b/src/unexmacosx.c index df4c0da4cb1..d6f170c9127 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c @@ -822,6 +822,7 @@ copy_data_segment (struct load_command *lc) } else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 + || strncmp (sectp->sectname, "__got", 16) == 0 || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0 || strncmp (sectp->sectname, "__dyld", 16) == 0 || strncmp (sectp->sectname, "__const", 16) == 0